﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.EntityValidation
{
    public class ChineseAttribute : RegExValidationAttribute
    {
        public ChineseAttribute()
        {

            RegEx = "[\u4e00-\u9fa5]";
            ErrorMessage = "请输入中文";
        }
    }
}
